﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NetCoreCMS.DTO
{
    public static class StatusName
    {
        public static string GetTaskName(int status)
        {
            string state = "<font color='red'>停止</font>";//=2;
            switch (status)
            {
                case 0:
                    state = "<font color='green'>运行</font>";
                    break;
                case 3:
                    state = "<font color='green'>系统停止</font>";
                    break;
            }
            return state;
        }
    }
}
